package com.rykj.qxj.server.model.entity;

import java.util.Date;

import com.rykj.qxj.server.common.utils.SourceGenerateUtils;

public class ApiAbilityStatistics {
	
	private Integer id;
	/**
	 * 应用的Id
	 */
	private String appKey;
	/**
	 * 统计指标中文描述
	 */
	private String content;
	/**
	 * 统计各指标的值，其中各浏览器访问量结果以json格式保存:[{"Safari":55,"Chrome":56,"其他":36,"Edge":102,"Opera":26,"Firefox":36}]

	 */
	private String countValue;
	/**
	 * 统计时间,数据按小时统计，日期格式，如2019-08-06 12:00:00、2019-08-06 13:00:00
	 */
	private String countHourTime;
	/**
	 * 统计类型，每天每个指标24条数据1:响应平均时间,2:流量Qps,3:接口响应错误次数，4：带宽占用，5：各浏览器访问量,6:接口范文量排名
	 */
	private Integer countType;
	/**
	 * 创建日期 格式 "yyyy-MM-dd"
	 */
	private Date createDate;
	/**
	 * 浏览器的类型
	 */
	private String browserType;
	/**
	 * nginx上的接口地址
	 */
	private String urlFromNginx;
	/**
	 * 接口名称
	 */
	private String apiName;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
   
	public String getAppKey() {
		return appKey;
	}
	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}
	public String getBrowserType() {
		return browserType;
	}
	public void setBrowserType(String browserType) {
		this.browserType = browserType;
	}
	public String getUrlFromNginx() {
		return urlFromNginx;
	}
	public void setUrlFromNginx(String urlFromNginx) {
		this.urlFromNginx = urlFromNginx;
	}
	public String getCountValue() {
		return countValue;
	}
	public void setCountValue(String countValue) {
		this.countValue = countValue;
	}
	public String getCountHourTime() {
		return countHourTime;
	}
	public void setCountHourTime(String countHourTime) {
		this.countHourTime = countHourTime;
	}
	public Integer getCountType() {
		return countType;
	}
	public void setCountType(Integer countType) {
		this.countType = countType;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	public String getApiName() {
		return apiName;
	}
	public void setApiName(String apiName) {
		this.apiName = apiName;
	}
	public static void main(String[] args) {
		
		SourceGenerateUtils.generate(ApiAbilityStatistics.class);
		
	}

}
